home *** CD-ROM | disk | FTP | other *** search
- Path: news.IT.net!news
- From: gema001@pn.itnet.it (Antonio Romeo)
- Newsgroups: comp.lang.c++
- Subject: Need Unique ID generation
- Date: 29 Feb 1996 10:38:18 GMT
- Organization: CyberPress
- Message-ID: <4h3vmq$4a6@alpha.it.net>
- NNTP-Posting-Host: gema001.pn.itnet.it
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.7
-
- I need a Unique Identifier generation routine on multiple machines.
- The identifier must be a 32bit long (unsigned long int) number.
- No two identifier generated on different machines can match.
- This is different from an hash generation as i don't have
- any 'imput string for it.
- A clock based only algorithm is not usefull, as two machines
- can generate the same UI at the same time.
- So I need a routine based on clock and some machine identifier too.
-
- Rule:
- 1. UIs generated on two machines or in different time must be
- differento from every UI already used;
- Thank for your help
-
- Antonio Romeo - Rome - Italy
- gema001@pn.itnet.it
-
-
-
-